x86emul: fold almost identical code
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:19:27 +0000 (16:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:19:27 +0000 (16:19 +0100)
commitae80792f711325f5881154db6e2407a7645ac588
tree85438e97e634afc4301ff69972a5ef267cd6be08
parent33a231e3ff0e76d70adb5b22c52989d3a918d830
x86emul: fold almost identical code

AAM/AAD as well as DAA/DAS emulation code is respectively almost
identical. Fold each pair, following what's already the case for
AAA/AAS.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c